import string

s = string.ascii_uppercase

print(s)

n = 2019
def ten_to_n(num,x):
    res = []
    while num > 0:
        t = num % x
        res.append(s[t-1])
        num -= t
        num = num // x
    
    return res[::-1]

print(ten_to_n(n,26))
